/*
 * @Author       : NaN 353362604@qq.com
 * @Date         : 2023-01-12 09:35:49
 * @LastEditTime : 2023-04-13 08:55:24
 * @LastEditors  : NaN 353362604@qq.com
 * @FilePath     : \AdminStration\src\Pages\Front\Common\Other\_swiper.scss
 * @Description  : 
 */

.carousel-demo-wrapper {
	width: 100%;
	height: 600px;
	position: relative;
	// overflow: hidden;
	user-select: none;
}

.carousel-demo {
	width: 100%;
	height: 100%;
}

.carousel-wrapper {
	position: absolute;
	width: 266px;
	height: 478px;
	margin: auto;
	left: 0;
	right: 0;
	top: 150px;
	padding-top: 400px;
	margin-top: -400px;
}

.carousel {
	position: relative;
	width: 100%;
	margin: auto;
	height: 100%;
}

.carouselContent {
	transform-style: preserve-3d;
	width: 100%;
}

.itemWrapper {
	position: absolute;
	top: 0;
	left: 0;
	transform-style: preserve-3d;
	width: 100%;
}

.itemWrapper .rotateLayer .bgAndBlurLayer {
	overflow: hidden;
	transition: filter 0.45s;
	margin: auto;
}

.itemWrapper .rotateLayer .bgAndBlurLayer .contentLayer {
	transition: opacity 0.65s;
}

.img-wrapper {
	height: 478px;
	background-size: cover;
	background-position: center;
	position: relative;
	z-index: 1;

	& > img {
		width: 100%;
		height: 100%;
		position: absolute;
		left: 0;
		top: 0;
		z-index: -1;
	}

	& > div {
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		flex-direction: column;
		cursor: pointer;
		transition: all 0.35s;
		background: url("https://image.ljkjkf.com/intellisiteSystem_TieKe/XNH/%E6%9C%80%E5%A4%A7%E6%A8%A1%E5%9D%97.png")
			100% 100%;

		&:hover {
			background: url("https://image.ljkjkf.com/intellisiteSystem_TieKe/XNH/选中模块.png")
				100% 100%;
		}

		& > span {
			font-size: 52px;
			color: #76f4f7;
			margin-top: 135px;
			margin-bottom: 70px;
		}

		& > img {
			width: 52px;
			height: 52px;
			margin-top: 135px;
			margin-bottom: 70px;
		}

		& > div {
			font-size: 39px;
			font-family: ShuHeiTi;
			font-weight: bold;
			color: #ffffff;
		}
	}
}

.swiper.StoneSwiper {
	width: 100%;
	user-select: none;
	padding: 15px;

	.swiper-slide {
		width: 240px;
		height: 135px;
		display: flex;
		align-content: center;
		justify-content: center;
		transition: 0.33s;
		box-shadow: 0px 0px 16px rgba(33, 135, 244, 0.5);
		cursor: pointer;

		& > img {
			width: 100%;
			height: 100%;
			display: block;
			object-fit: cover;
		}
	}
}

.SwiperName {
	font-size: 14px;
	font-weight: bold;
	color: #ffffff;
	line-height: 28px;
}

.swiper.StoneSwiperVertical {
	width: 270px;
	height: 400px;
	padding: 0 15px;

	.swiper-slide {
		width: 240px;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		transition: 0.33s;
		transform: scale(0.75);
		cursor: pointer;

		img {
			display: block;
			width: 100%;
			height: 135px;
			object-fit: cover;
			box-shadow: 0px 0px 16px rgba(33, 135, 244, 0.5);
		}
	}

	.swiper-slide-active {
		transform: scale(1);
	}
}

.NewsList {
	height: 100%;
	overflow: hidden;
	user-select: none;

	& > .swiper-wrapper {
		height: 100%;

		& > .swiper-slide {
			width: 100%;
			overflow: hidden;
			display: flex;
			align-items: center;
			justify-content: center;
			flex-direction: column;
			cursor: pointer;

			& > img {
				height: calc(100% - 30px);
				width: 100%;
				object-fit: cover;
			}

			& > div {
				height: 30px;
				width: 100%;
				display: flex;
				align-items: center;
				justify-content: center;
				font-size: 12px;
				font-family: Microsoft YaHei;
				font-weight: 400;
				color: #ffffff;
				background: rgba(0, 93, 204, 0.6);
			}
		}
	}
}

.XNHHomeBox {
	perspective: 2000px;
	perspective-origin: top;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;

	.container {
		width: 150px;
		height: 260px;
		text-align: center;
		transform-style: preserve-3d;
		margin: 0 auto;
		position: relative;
		transform-origin: 100px 0;
		transition: 0.35s;

		.box {
			position: absolute;
			top: 400px;
			width: 150px;
			height: 260px;

			& > div {
				width: 100%;
				height: 100%;
				font-size: 20px;
				color: #262626;
				background: yellow;
			}
		}
	}
}
